package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.util.page.PageResultSet;
import com.wsj.web.subclass.displayBean.comSearchAd.ComSearchAdExtendBean;
import com.wsj.web.vo.homeSite.ComSearchAd;

public interface IComSearchAdDao {
	
	
	void add(ComSearchAd comSearchAd)throws DataAccessException;
	
	void delete(Integer id)throws DataAccessException;
	
	void update(ComSearchAd comSearchAd)throws DataAccessException;
	
	ComSearchAd loadComSearchAdById(Integer id)throws DataAccessException;
	
	PageResultSet loadComSearchAdByExtendBean(ComSearchAdExtendBean comSearchAdExtendBean)throws DataAccessException;
	
	
	List loadComSearchAdBycomAdType(String typeName,int top)throws DataAccessException;
	
	
	

}
